package com.hualan.service.service.service.wsj;

import com.hualan.mapper.wsj.FmMapper;
import com.hualan.pojo.wsj.FM;
import com.hualan.pojo.wsj.FmType;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FmServiceImpl implements FmService {
    @Autowired
    private FmMapper fmMapper;
    public List<FM> listAll() {
        return fmMapper.listAll();
    }

    public List<FmType> listType() {
        return fmMapper.listType();
    }

    public List<FM> listByType(Integer typeId) {
        return fmMapper.listByType(typeId);
    }

}
